package com.centit.airplaneinfo_db.po;


import com.centit.support.algorithm.UuidOpt;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "DB_OLD_INFO_DJPQL")
public class DbOldInfoDjpql implements java.io.Serializable{
    private static final long serialVersionUID =  1L;

    /**
     * REC_ID【主键】 REC_ID【主键】
     */
    @Id
    @Column(name = "REC_ID")
    private String recId;

    @Column(name = "RECORD_ID")
    private String  recordId;

    @Column(name = "AIR_PLANE_TYPE")
    private String  airPlaneType;

    @Column(name = "AIR_PLANE_NUM")
    private String  airPlaneNum;

    @Column(name = "DJ_LX")
    private String  djLx;

    @Column(name = "DATA_TYPE")
    private String  dataType;

    private String trType;//行类型

    public DbOldInfoDjpql() {
    }

    public DbOldInfoDjpql( String recordId, String airPlaneType, String airPlaneNum,
                          String djLx, String dataType) {
        this.recId = UuidOpt.getUuidAsString32();
        this.recordId = recordId;
        this.airPlaneType = airPlaneType;
        this.airPlaneNum = airPlaneNum;
        this.djLx = djLx;
        this.dataType = dataType;
    }

    public String getTrType() {
        return trType;
    }

    public void setTrType(String trType) {
        this.trType = trType;
    }

    public String getRecId() {
        return recId;
    }

    public void setRecId(String recId) {
        this.recId = recId;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getAirPlaneType() {
        return airPlaneType;
    }

    public void setAirPlaneType(String airPlaneType) {
        this.airPlaneType = airPlaneType;
    }

    public String getAirPlaneNum() {
        return airPlaneNum;
    }

    public void setAirPlaneNum(String airPlaneNum) {
        this.airPlaneNum = airPlaneNum;
    }

    public String getDjLx() {
        return djLx;
    }

    public void setDjLx(String djLx) {
        this.djLx = djLx;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }
}
